Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: URL encode poolName in azure-pipelines #5120

Merged
merged 6 commits into from
Oct 23, 2023
Merged

fix: URL encode poolName in azure-pipelines #5120

merged 6 commits into from
Oct 23, 2023

Conversation

chunderbolt
Copy link
Contributor

Previously, having a space in the pool name would cause HTTP 400 responses from ADO which lead to metadata parsing errors from KEDA. This should no longer happen now that the pool name is escaped.

Checklist

Fixes #5107

I've added a test to the existing file (fails before, passes now) but I'm not properly set up to integration test this - I hadn't written any Go since <100 lines 5 years ago so I had to do a bunch of setup already. Should work, it's not exactly complicated.

Also changed url vars in the file to urlString.

@chunderbolt chunderbolt requested a review from a team as a code owner October 23, 2023 19:13
@github-actions
Copy link

Thank you for your contribution! 🙏 We will review your PR as soon as possible.

While you are waiting, make sure to:

Learn more about:

@JorTurFer
Copy link
Member

JorTurFer commented Oct 23, 2023

/run-e2e pipeline
Update: You can check the progress here

CHANGELOG.md Outdated Show resolved Hide resolved
Signed-off-by: Jorge Turrado Ferrero <[email protected]>
@JorTurFer
Copy link
Member

/skip-e2e

@JorTurFer JorTurFer merged commit 70812d2 into kedacore:main Oct 23, 2023
20 checks passed
zroubalik pushed a commit to zroubalik/keda that referenced this pull request Nov 27, 2023
zroubalik pushed a commit to zroubalik/keda that referenced this pull request Nov 27, 2023
Co-authored-by: Jorge Turrado Ferrero <[email protected]>
Signed-off-by: Zbynek Roubalik <[email protected]>
zroubalik pushed a commit to zroubalik/keda that referenced this pull request Nov 27, 2023
Co-authored-by: Jorge Turrado Ferrero <[email protected]>
Signed-off-by: Zbynek Roubalik <[email protected]>
zroubalik pushed a commit that referenced this pull request Nov 27, 2023
Co-authored-by: Jorge Turrado Ferrero <[email protected]>
Signed-off-by: Zbynek Roubalik <[email protected]>
toniiiik pushed a commit to toniiiik/keda that referenced this pull request Jan 15, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Azure Pipelines: Space in pool name causes HTTP 400 errors
3 participants